package com.moji.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.Version;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 意见反馈表
 * </p>
 *
 * @author ccl
 * @since 2024-07-28
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="MjOpinion对象", description="意见反馈表")
public class MjOpinion extends Model<MjOpinion> {

    private static final long serialVersionUID=1L;

    @ApiModelProperty(value = "id")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty(value = "编码码")
    private String code;

    @ApiModelProperty(value = "意见内容")
    private String opinionContent;

    @ApiModelProperty(value = "联系方式")
    private String mobilePhone;

    @ApiModelProperty(value = "姓名")
    private String name;

    @ApiModelProperty(value = "企业名称")
    private String companyName;

    @ApiModelProperty(value = "类型：1-意见反馈 2-申请体验")
    private String type;

    @ApiModelProperty(value = "更新人id")
    private String updateId;

    @ApiModelProperty(value = "创建人id")
    private String createId;

    @ApiModelProperty(value = "创建时间")
    private Date createTime;

    @ApiModelProperty(value = "更新时间")
    private Date updateTime;

    @ApiModelProperty(value = "备用字段1")
    private Integer spareInt1;

    @ApiModelProperty(value = "备用字段2")
    private Integer spareInt2;

    @ApiModelProperty(value = "备用字段1")
    private String spareString1;

    @ApiModelProperty(value = "备用字段2")
    private String spareString2;


    @Override
    protected Serializable pkVal() {
        return this.id;
    }

}
